//
//  WeiboCommon.swift
//  shanshanlol微博
//
//  Created by 叶竞泽 on 2017/1/19.
//  Copyright © 2017年 JingZe. All rights reserved.
//

import Foundation

// MARK: - 全局通知定义

/// 用户需要登录的通知
let WBUserShouldLoginNotification = "WBUserShouldLoginNotification"
let WBUserLogonSuccessNotification = "WBUserLogonSuccessNotification"

// MARK: - 微博应用程序信息

/// AppKey
let WBAppKey = "2922970087"

/// App Secret - 开发者可申请修改
let WBAppSecret = "5bea0b10df7f2771e2c1a708c9e71309"

/// 授权回调地址
let WBRedirect_url = "https://api.weibo.com/oauth2/default.html"

// MARK: - 微博配图视图常量

/// 外侧间隔
let outterMargin: CGFloat = 12
/// 内侧间隔
let innerMargin: CGFloat = 3
/// 视图宽度
let viewWidth = UIScreen.cz_screenWidth() - 2 * outterMargin
/// 每个item默认的宽度
let itemWidth = (viewWidth - 2 * innerMargin) / 3

// MARK: - 照片浏览通知

/// 微博图片浏览器显示通知
let WBShowPhotoBrowserNotification = "WBShowPhotoBrowserNotification"

/// 选中的索引Key
let WBShowPhotoBrowserSelectedIndexKey = "WBShowPhotoBrowserSelectedIndexKey"

/// 照片数组Key
let WBShowPhotoBrowserURLsKey = "WBShowPhotoBrowserURLsKey"

/// 父视图的图像视图数组Key
let WBShowPhotoBrowserImagesKey = "WBShowPhotoBrowserImagesKey"
